<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<c:import url="topShow.jsp" />

<body>
	<div align="center" style="width:820px;height:600px;margin:0 auto;margin-top: 20px">
		<div id="chart">
			<!-- <img src="<%=request.getContextPath()%>/servlet/DisplayChart?filename=${filename}" alt="统计图" /> -->
			<img src="<%=request.getContextPath()%>/monitor/getProStatusByCityForJChart" alt="统计图" />
		</div>
	<br />
	</div>

<div align="center" id="areaShow">

	<table width="800" border="1" align="center"
		bordercolor="#E8E7E6" bgcolor="#FFFFFF">
		<tr align="center" valign="middle" >
			<th colspan="4" height="25px" bgcolor="#BECAE3">各 市/州 发布信息总数 (${cityTotalProNum} 条)</th>
		</tr>
		
		<c:forEach items="${allCities}" var="cityInfo" varStatus="status">
			<c:if test="${(status.count%4)==1}">
				<tr align="center" valign="middle">
			</c:if>
			<td width="25%" style="padding:3px">
				<a href="javascript:parent.showDisInfo('${cityInfo.depCode}');"><span>${cityInfo.depName}</span></a>(${cityInfo.longOne} 条)<br/>
			</td>
			<c:if test="${status.last}">
				<c:if test="${(status.count%4)!=0}">
					<c:forEach begin="1" end="${4-(status.count%4)}" var="i">
						<td>&nbsp;</td>
					</c:forEach>
				</c:if>
			</c:if>
			<c:if test="${(status.count%4)==0}">
				</tr>
			</c:if>
		</c:forEach>
	</table>
	
	<br />
	
	<table width="800" border="1" align="center"
		bordercolor="#E8E7E6" bgcolor="#FFFFFF">
		<tr align="center" valign="middle" >
			<th colspan="4" height="25px" bgcolor="#BECAE3">省级部门 发布信息总数 (${proviceTotal} 条)</th>
		</tr>
		<tr align="center" valign="middle" bordercolor="#E8E7E6" bgcolor="#FFFFFF" >
			<td width="25%" colspan="4" style="padding:3px">
				<a href="javascript:parent.showDepInfo('510000');"><span>省级部门</span></a>(${proviceTotal} 条)<br/>
			</td>
		</tr>
	</table>
</div>

</body>
</html>
